package com.zkthink.ceres.product.dao;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.zkthink.base.mapper.SuperMapper;
import com.zkthink.ceres.product.entity.ShippingCompany;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 善泉
 */
@Repository
public interface ShippingCompanyMapper {

	List<ShippingCompany> findShippingCompanyList(String shippingCompanyName);

	@SqlParser(filter = true)
	int insert(ShippingCompany shippingCompany);

	@SqlParser(filter = true)
	int deleteById(Long id);

	@SqlParser(filter = true)
	int update(ShippingCompany shippingCompany);
}
